package com.lkhd.common.exception;

public class BaseException extends RuntimeException{
	
	/*
	 * 异常状态
	 */
	private Integer code;
	
	/*
	 * msg 异常说明
	 */
	public BaseException(String msg) {
		super(msg);
	}
	public BaseException(Integer code,String msg) {
		super(msg);
		this.code = code;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}
}
